<?php
$doc_root = $_SERVER['DOCUMENT_ROOT'];
include_once '/includes/helpers.inc.php'; 
?>
<?php
$doc_root = $_SERVER['DOCUMENT_ROOT'];
$cwdz = $doc_root . '/QLDSV2';
include_once '/includes/helpers.inc.php'; 
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Student Page</title>
<link href="css/core.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/utilities.js"></script>
<script type="text/javascript">
function scrollto() {
<?php
	$scrollx = 0;
	$scrolly = 0;
	if( isset($_SESSION['scrollx']) && isset($_SESSION['scrolly']) ) {
		$scrollx = $_SESSION['scrollx'];
		$scrolly = $_SESSION['scrolly'];
	}// end if
?>
	window.scrollTo( <?php echo $scrollx; ?>, <?php echo $scrolly; ?> );
}
window.onload = scrollto;
<?php
	unset( $_SESSION['scrollx'] );
	unset( $_SESSION['scrolly'] );
?>
</script>
</head>

<body>

<!-- root wrapper -->
<div id="container">

	<!-- Site header -->
	<div id="header">
		<div id="banner">
			<p class="siteTitle">Student Page</p>
		</div><!-- close logo -->
	</div><!-- close header -->
	
	<!-- Navigation bar -->
	<div id="navbar">
		<ul>
			<li><a href="#">home</a></li>
			<li><a href="#">forum</a></li>
			<li><a href="#">google</a></li>
			<li><a href="#">home again</a></li>
		</ul>
	</div><!-- close navbar -->
	
	<!-- Content of website -->
	<div id="content">
		<div id="taskbar" class="box">
				<div class="box-header">Taskbar</div>
				<div class="box-content minheight">
					<ul>
						<li><a href="?view_scores&score_all" title="Xem bảng kết quả học tập" >Xem Kết Quả Học Tập</a></li>
						<li><a href="?change_pass" title="Thay đổi mật khẩu">Đổi Mật Khẩu</a></li>
						<li>
						<?php include 'logout.inc.html.php'; ?>
						<a href="javascript:void(submitForm('logout'));">Log out</a>		
						</li>
					</ul>
				</div>
		</div><!-- close box #1 (taskbar) -->
			
		<div id="data-wrapper">	
			<div class="box">
				<div class="box-header">Trang Cá Nhân Của <?php echo $_SESSION['student_name'] ?></div>
				<div class="box-content minheight">
				<?php include 'get_formS.php'; ?>
				</div>
			</div>
			
			<!-- Get tabular data -->
			<?php include 'get_boardS.php'; ?>
		</div><!-- close data-wrapper -->
	</div><!-- close content -->
	<!-- Site footer -->
	<div id="footer">
		<p class="copyright">Designed by ETAK&reg; Team - Copyright reserved.</p>
	</div><!-- close footer -->
</div><!-- close container -->
</body>
</html>